Function.prototype.method = function(name, func) {
    if (!this.prototype[name]) {
        this.prototype[name] = func;
    }

    return this;
};


var moved = false;

$(dom).bind("touchend", function(touchEndFn) {
    if (!moved) {
        // 点击事件
    }
    moved = false;
});

$(dom).bind("touchmove", function() {
    moved = true;
    console.log("moving");
});